package com.weds.edwx.mapper;

import com.weds.core.annotation.MyBatisDao;
import com.weds.edwx.entity.*;

import java.util.List;
import java.util.Map;

/**
 * @Author sjm
 * @Description 理发管理
 * @Date 2020-02-24
 */
@MyBatisDao
public interface HairCutMapper {

    //本月充值次数
    Integer currentMonthCzCounts(Integer user_serial);

    //本月消费次数
    Integer currentMonthXfCounts(Integer user_serial);

    //总剩余次数
    Integer totalResidualCounts(Integer user_serial);

    List<AppointmentRecordEntity> selectAppointmentListByEntity(Integer user_serial);

    Integer currentMonthConsumeCount(HairCutCollectReq hairCutCollectReq);

    Integer currentMonthSubsidyCount(HairCutCollectReq hairCutCollectReq);

    List<HairCutConsumeSubsidyEntity> selectHairCutListByEntity(HairCutConsumeSubsidyReq record);

    List<RechargeRecordEntity> selectRechargeListByEntity(Integer user_serial);

    List<HairCutConsumeSubsidyEntity> selectSubsidyListByEntity(HairCutConsumeSubsidyReq record);


}